home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Tools
/
MPW
/
GCC 1.37.1r15
/
Tests
/
poor-short.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-12-16
|
180 b
|
15 lines
|
[
TEXT/MPS
]
/* A function declared as returning a short should be able to just fill in
half of D0. */
short **glob;
short foo(short **x)
{
return **x;
}
main()
{
**glob = foo(glob);
}